import request from '@/utils/request'

// 查询学生报名信息列表
export function listSign(query) {
  return request({
    url: '/edu/sign/list',
    method: 'get',
    params: query
  })
}

// 查询学生报名信息详细
export function getSign(signId) {
  return request({
    url: '/edu/sign/' + signId,
    method: 'get'
  })
}

// 新增学生报名信息
export function addSign(data) {
  return request({
    url: '/edu/sign',
    method: 'post',
    data: data
  })
}

// 修改学生报名信息
export function updateSign(data) {
  return request({
    url: '/edu/sign',
    method: 'put',
    data: data
  })
}

// 删除学生报名信息
export function delSign(signId) {
  return request({
    url: '/edu/sign/' + signId,
    method: 'delete'
  })
}

// 导出学生报名信息
export function exportSign(query) {
  return request({
    url: '/edu/sign/export',
    method: 'get',
    params: query
  })
}